//
//  ViewController.m
//  彩色环形进度条
//
//  Created by MyMac on 15/8/13.
//  Copyright (c) 2015年 MyMac. All rights reserved.
//

#import "ViewController.h"
#import "CustomArcProgress.h"
@interface ViewController ()
@property(nonatomic,strong)CustomArcProgress*press;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    CustomArcProgress*press= [[CustomArcProgress alloc]initWithFrame:CGRectMake(100, 200, 100, 100)];
    self.press=press;
    press.backgroundColor=[UIColor yellowColor];
    [self.view addSubview:press];
    // Do any additional setup after loading the view, typically from a nib.
}
- (IBAction)slider:(UISlider*)sender {
    
    self.press.value=sender.value;
    
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
